package dynamic.jdk.theory;

import dynamic.jdk.Seller;
import dynamic.jdk.Transportable;


public class MainMethod {
    public static void main(String[] args) {
       Transportable express = (Transportable) MyProxy.newProxyInstance(new MyClassLoader(),
                                                                        Seller.class.getInterfaces()[0],
                                                                        new CountTimeInvocationHandler(new Seller()));
        express.transport();
    }
}
